//
//  ItemSelectCollectionViewCell.m
//  YJlandlord
//
//  Created by 文彬 on 2018/7/1.
//  Copyright © 2018年 文彬. All rights reserved.
//

#import "ItemSelectCollectionViewCell.h"

@implementation ItemSelectCollectionViewCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        
        _topImage  = [[UIImageView alloc] initWithFrame:CGRectMake((frame.size.width-40)/2, 0, 40, 40)];
        _topImage.backgroundColor = [UIColor clearColor];
        [self.contentView addSubview:_topImage];
        
        _botlabel = [[UILabel alloc] initWithFrame:CGRectMake(0, frame.size.height-30, frame.size.width, 30)];
        _botlabel.textAlignment = NSTextAlignmentCenter;
        _botlabel.textColor = kTitleColor;
        _botlabel.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:_botlabel];
    }
    
    return self;
}



@end
